# Tanım: kmahjongg oyunu
# URL: http://kde.org/applications/games/kpatience/
# Paketçi: cihanAlkan
# Gerekler: kf5-extra-cmake-modules kf5-kdoctools libkdegames libkmahjongg kf5-knotifyconfig xdg-utils
# Grup: oyun

isim=kmahjongg
surum=17.12.0
devir=1

kaynak=(http://download.kde.org/stable/applications/${surum}/src/${isim}-${surum}.tar.xz)

derle() {
cd ${isim}-${surum}
cmake -DCMAKE_BUILD_TYPE=Release \
      -DBUILD_TESTING=OFF \
      -DCMAKE_INSTALL_PREFIX=/usr \
      -DCMAKE_INSTALL_LIBDIR=lib
      
make
make DESTDIR=$PKG install
}
